/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: mirac
 * Date: 2025-04-21
 * Time: 23:51
 */
public class Judgeji {
    public static boolean Judge(int[] arr) {
        for(int i = 0; i < arr.length - 2; i++) {
            if(arr[i] % 2 != 0
                    &&arr[i + 1] %2 != 0
                    &&arr[i + 2] % 2 != 0) {
                return true;
            }
        }
        return false;
    }
    public static void main(String[] args) {
        int[] arr = {2,6,4,1};
        int[] arr1 = {1,2,34,3,4,5,7,23,12};
        boolean x = Judge(arr1);
        System.out.println(x);
    }
}
